@charset "utf-8";
.clearfix, #qa-login-group, .qa-header, .qa-main-shadow, .qa-nav-footer, .qa-footer-bottom-group, .qa-main-wrapper, .qa-nav-main-list, .qa-nav-sub-list {
    display: inline-table;
    border-radius: 4px;
}
.clearfix, #qa-login-group, .qa-header, .qa-main-shadow, .qa-nav-footer, .qa-footer-bottom-group, .qa-main-wrapper, .qa-nav-main-list, .qa-nav-sub-list {
    display: block;
}
.clearfix:after, #qa-login-group:after, .qa-header:after, .qa-main-shadow:after, .qa-footer-bottom-group:after, .qa-main-wrapper:after, .qa-nav-main-list:after, .qa-nav-sub-list:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.qa-body-wrapper {
    width: 1070px;
    text-align: left;
    margin: 30px auto 50px auto;
}
.qa-header {
    /* position: relative; */
    padding: 0px 10px 5px;
    height: auto;
}
.qa-search-bar {
    float: left;
    width: 750px;
    margin-top: 5px;
}
.qa-ask-btn {
    float: right;
    padding-left: 57px;
    padding-right: 57px;
}
.qa-main-shadow {
    padding: 10px 10px 0;
}
.qa-main-wrapper {
    background: #fff;
}
.qa-nav-main {
    clear: both;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    width:750px;
    float: left;
}
.qa-nav-main-list {
    font-size: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: Arial,Helvetica,sans-serif;
    float:left;
}
.qa-main-wrapper .ask-q,.qa-main-wrapper .back-q{
    padding: 6px 0;
    width: 280px;
    margin-right: 10px;
    font-size: 20px;
}
.qa-main-wrapper .ask-a{
    padding: 6px 0;
    margin-right: 10px;
    font-size: 20px;
    width: 280px;
}
.qa-a-list-item .dc{
    max-width: 600px;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	position:relative;
}
.ql_comment_ft{font-size: 13px;}
.ql_comment_ft .data{color:gray;}
.dc:before, .dc:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    left: 142px;
}
.dc:before {
    top: -20px;
    z-index: 1;
    border-color: transparent transparent #fff transparent;
}
.dc:after {
    border-color: transparent transparent #ccc transparent;
    top: -21px;
}
.dc .media{
    margin: 5px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.dc .media:last-child{
    border-bottom:none;
}
.ql_comment_form {
    margin-top: 10px;
}
.ql_comment_editable {
    width: 100%;
    padding: 9px 13px;
    min-height: 38px;
    min-height: 22px\9;
    line-height: 1.4;
    color: #222;
    cursor: text;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1) inset;
    box-sizing: border-box;
    background: #fff;
    outline: 0;
    font-size: 13px;
}
.ql_comment_empty:after{
	content:attr(aria-label);
	color:gray;
}
div[contentEditable], input, textarea, button, a:link {
    -webkit-tap-highlight-color: rgba(225,225,225,.5);
}
.qa-a-reply{
    /*margin-top:10px;*/
    /*padding-top:10px;*/
    /*border-top:1px solid #ddd;*/
}
.ql_command {
    margin-top: 10px;
    padding-bottom: 0;
    text-align: right;
    line-height: 33px;
}
.ql_command_cancel ,.qa-ql_command_cancel{
    margin-right: 10px;
    color: #999;
}
.dc h4.media-heading{
    font-size:14px;
}
.qa-nav-main-item {
    float: left;
    margin: 3px;
}
.qa-nav-main-link {
    color: #666;
    display: block;
    padding: 7px 25px;
    font-weight: 700;
    /*-moz-transition: all ease-in-out 0.5s;*/
    /*-webkit-transition: all ease-in-out 0.5s;*/
    /*-o-transition: all ease-in-out 0.5s;*/
    /*-ms-transition: all ease-in-out 0.5s;*/
    /*transition: all ease-in-out 0.5s;*/
}
.qa-nav-main-link:hover,.qa-nav-main-link.active{
    text-decoration: none;
    color: #006699 !important;
    /*-moz-transition: all ease-in-out 0.2s;*/
    /*-webkit-transition: all ease-in-out 0.2s;*/
    /*-o-transition: all ease-in-out 0.2s;*/
    /*-ms-transition: all ease-in-out 0.2s;*/
    /*transition: all ease-in-out 0.2s;*/
}
.qa-sidepanel {
    float: right;
    width: 300px;
    padding: 10px;
    min-height: 80px;
}
.qa-sidebar {
    font-size: 14px;
    margin: 0 0 10px 0;
    padding: 20px;
    border: 1px solid #b6c4c8;
}
.qa-main {
    /*padding-left: 10px;*/
    float: left;
    width: 750px;
    margin: 10px 0 24px;
    clear: left;
    /*overflow: hidden;*/
}
/*.qa-main h1{
    color: #444;
    font-size: 20px;
    font-weight: 700;
    margin: 0.5em 0 25px;
    font-family: Arial,Helvetica,sans-serif;
    line-height: 1.1em;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding: 14px 25px 5px 0;
}*/
.qa-main #a_list_title{
    font-size: 18px;
    color: #333;
    padding: 5px 10px !important;
    clear: both;
    background: #eee;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 0 -25px 25px -25px rgba(255,255,255,1) inset;
    border: 1px solid #ddd;
    text-shadow: 1px 1px 0 rgba(255,255,255,1);
    margin: 20px 0;
}
.qa-q-list-item {
    zoom: 1;
    padding: 5px 5px 15px 5px;
    border-bottom: 1px solid #eee;
    position:relative;
}
.qa-q-item-stats {
    float: left;
}
.qa-voting {
    /*background: #e7f7ff;*/
    /*border: 1px solid #c5d6df;*/
    float: left;
    width: 60px;
    height: 60px;
    margin-right: 5px;
    padding: 0;
    border-radius: 3px;
}
.qa-voting img{
    width:50px;
    height:50px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.qa-netvote-count {
    text-align: center;
    display: block;
}
.qa-netvote-count-data {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    display: block;
    margin-top: 10px;
    overflow: hidden;
}
.qa-netvote-count-pad {
    font-size: 13px;
}
.qa-a-count {
    background: #ffe9d5;
    border: 1px solid #ffd196;
    float: left;
    width: 60px;
    height: 60px;
    text-align: center;
    margin-right: 5px;
    padding: 0;
    border-radius: 3px;
}
.qa-a-count-data {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    display: block;
    margin-top: 10px;
}
.qa-view-count {
    float: left;
    background: #fff;
    width: 60px;
    height: 60px;
    text-align: center;
    margin-right: 5px;
    padding: 0;
    border: 1px solid #ddd;
    overflow: hidden;
    border-radius: 3px;
}
.qa-view-count-data {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    display: block;
    margin-top: 10px;
}
.qa-q-view{
    padding-left: 10px;
}
.qa-q-item-main {
    width: 488px;
    float: left;
    padding-left: 10px;
    margin-top:10px;
}
.qa-q-item-avatar {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -20px;
}
.qa-q-item-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top:-3px;
}
.qa-q-item-title {
    color: #000;
    font-size: 16px;
}
.qa-q-item-title a {
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 700;
    line-height: normal;
    color: #000;
}
.qa-q-item-title a:hover{
    color:#337ab7!important;
    text-decoration:underline!important;
}
.qa-q-item-when{
    color:gray;
    font-weight: bold;
}
.qa-q-view-avatar-meta {
    margin-top: 10px;
}
.qa-q-item-avatar-meta, .qa-q-view-avatar-meta, .qa-a-item-avatar-meta, .qa-c-item-avatar-meta {
    display: block;
}
.qa-q-item-meta {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
}
.qa-q-item-when-data {
    font-weight: 700;
}
.qa-category-link {
    color: #1e5568;
    font-weight: 700;
}
.qa-user-link {
    color: gray;
    font-weight: 700;
}
.qa-user-link:hover,.qa-q-item-class:hover{
    color:#337ab7!important;
}

.qa-nav-main-clear, .qa-nav-sub-clear, .qa-q-item-clear, .qa-q-view-clear, .qa-a-item-clear, .qa-c-item-clear, .qa-footer-clear, .qa-page-links-clear {
    clear: both;
}
.qa-suggest-next {
    background: #f4f4f4;
    border: 1px solid #c7dce6;
    color: #444;
    font-size: 14px;
    text-align: center;
    clear: both;
    margin-top: 22px;
    border-radius: 3px;
    box-shadow: 0 10px 15px 0 rgba(255,255,255,1) inset,0 0 5px 0 rgba(0,0,0,0.05);
}
.qa-suggest-next a {
    font-weight: 700;
    display: block;
    width:100%;
    padding: 8px;
}
.qa-q-view-main {
    float: left;
    width: 620px;
    padding-left: 10px;
    position:relative;
}
.qa-view-count {
    float: left;
    background: #fff;
    float: left;
    width: 60px;
    height: 60px;
    text-align: center;
    margin-right: 5px;
    padding: 0;
    border: 1px solid #ddd;
    overflow: hidden;
    border-radius: 3px;
}
.qa-template-question .qa-view-count {
    position: absolute;
    right: 0;
    top: -23px;
    float: none;
    margin: 0;
    padding: 0 0 2px;
    width: auto;
    height: auto;
    color: #777;
    border: none;
}
.qa-view-count-data {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    display: block;
    margin-top: 10px;
}
.qa-template-question .qa-view-count-data {
    font-size: 13px;
    line-height: 13px;
    margin-top: 1px;
    display: inline;
}
.qa-template-question .qa-view-count-pad {
    font-size: 8px;
    line-height: 8px;
    letter-spacing: 1px;
}

/*code, pre {
    font-family: small Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 13px;
    white-space: normal;
}*/
.qa-q-view-content pre, .qa-a-item-content pre, .qa-c-item-content pre, .wmd-preview pre {
	overflow-y: hidden;
    width: 100%;
    max-height: 300px;
    padding: 16px 10px 16px 40px;
    border-width: 1px solid #C3CCD0;
    background-color: #f6f6f6;
	font-weight:700;
}
/*pre code {
    display: block;
    padding: 8px;
    float: left;
    white-space: pre;
}
pre code, pre .ruby .subst, pre .tag .title, pre .lisp .title, pre .nginx .title {
    color: black;
}*/

.qa-a-list-item {
    background: #fff;
    zoom: 1;
    position: relative;
    padding: 20px 10px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #ccc;
}
.qa-a-item-main {
    float: left;
    width: 680px;
    display: inline-block;
    padding-left: 10px;
}
.qa-a-item-avatar,.qa-q-view-avatar {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.qa-a-item-avatar img,.qa-q-view-avatar img{
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 25px;
    height: 25px;
}
.qa-a-item-meta ,.qa-q-view-meta{
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    color:gray;
}
.qa-a-item-avatar-meta{
    /*padding-top:15px;*/
}
.qa-q-title{
    font-weight: 700;
    font-size: 20px;
    color:black;
    cursor: default;
}
.qa-q-title:hover{
    color:black;
}
.entry-content {
    word-wrap: break-word;
}
/*点赞板块*/
.vote{width:50px;}
.vote .up,.vote .down{

    color: #fff;/*698ebf   eff6fa*/
    height: 24px;
    line-height: 24px;
    width: 50px;
    border-radius: 3px;
    border: 0;
    cursor: pointer;
    background: #ddd;
    font-weight: 500;
    text-align: center;
    position: relative;
    outline:none;
}
.vote .up:hover,.vote .down:hover{
    background: #555;
    color: #fff;
}
.vote .up.press,.vote .down.press{
    background: #555;
    color: #fff;
}
.vote .up{
    height: 44px;
}

.vote i.vote_arrow {
    height: 15px;
    display: block;
    text-align: center;
    width: 20px;
    margin: 0 auto;
}

.vote .up i{
    background: url(../img/iconfont-arrow-up-w.png);
    -webkit-background-size: 100%;
    background-size: 100%;
}
.vote .down i{
    background: url(../img/iconfont-arrow-down-w.png);
    -webkit-background-size: 100%;
    background-size: 100%;
}
.vote .up span.count {
    display: block;
}
.vote .down{
    margin-top: 5px;
}
.vote .up:hover i,.vote .up.press i{
    background: url(../img/iconfont-arrow-up-w.png);
    -webkit-background-size: 100%;
    background-size: 100%;
}
.vote .down:hover i,.vote .down.press i{
    background: url(../img/iconfont-arrow-down-w.png);
    -webkit-background-size: 100%;
    background-size: 100%;
}
.qa-a-item-meta{
    display: block;
}
.qa-a-item-content .qa-user-link{
    font-size:16px;
}
.qa-a-item-content .qa-a-avatar img{
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

}
.btn-primary {
    background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
    background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
    background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #245580;
}
.btn-default, .btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}


.contain form{
    padding-bottom: 60px;
}
.qz-q{
    border-bottom:1px solid #666;
}
.qz-q h2{
    text-align: left;
}
.qz-title {
    margin: 20px 0 10px 0;
}
.qz-title input{
    width:100%;
    font-size:18px;
    padding:3px 10px;
    outline: none;
    border:1px solid #bbb;
    border-radius: 3px;
}
.help-block{
    text-align: left;
    color:#a94442;
}
.qz-q-list{
    float:left;
    margin:10px 0;
    position:relative;
    font-size: 18px;
}
.qz-q-list .qz-q-choose{
    width:200px;
    padding:0 10px;
}
.qz-q-list-item{
    position:absolute;
    z-index: 99;
    border:1px solid #ddd;
    background: white;
    max-height: 300px;
    overflow: auto;
    width: 200px;
    right: 0;
    box-shadow: 8px 8px 8px #ddd;
}
.qz-q-list-item ul{
    list-style: none;
}
.qz-q-list-item ul li{
    text-align: left;
    padding:5px 0 5px 10px;
    cursor:pointer;
}
.qz-q-list-item ul li:hover{
    background: #7ee7ff;
}
select.select{
    border: 1px solid #ccc;
    line-height: 22px;
    color: #666;
    margin-left: 14px;
    padding: 4px 3px;
    font-size: 15px;
    min-width: 70px;
}
.qz-q-editor{
    font-size:20px;
    font-weight: 600;
    text-align: left;
    padding:10px;
    margin-bottom: 20px;
    border:1px solid #ddd;
    -webkit-box-shadow: 2px 3px 3px #ddd ;
    -moz-box-shadow: 2px 3px 3px #ddd ;
    box-shadow: 2px 3px 3px #ddd;
}
.qz-share-title {
    font-size: 18px;
    padding: 10px 0;
    clear: both;
    overflow: hidden;
}
.qz-share-title span{
    display: inline-block;
    width:90px;
    float: left;
    line-height: 33px;
}
.qz-share-title input{
    padding:3px 10px;
    width:975px;
    border:1px solid #bbb;
    outline:none;
    float: left;
}

.qa-module{
    width: 745px;
    background: #f6f6f6;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.24);
    padding: 15px;
    margin-bottom: 20px;
    float: left;
}
.qa-module-title{
    font-size:30px;
    margin-bottom:10px;
}
.qa-a-intr{
    display:inline-block;
    width:280px;
	line-height: 24px;
}

.tooltipColor{
    border: 1px solid #fafafa;
    -webkit-box-shadow: 0px 0px 6px #98110E;
    -moz-box-shadow: 0px 0px 6px #98110E;
    box-shadow: 0px 0px 6px #98110E;
    -webkit-transition: border linear .2s,box-shadow linear .2s;
}
/*采纳*/
.accepted-flag {
    position: relative;
    margin: 10px 0 0;
    background-color: #D40E0E;
    width: 100%;
    height: 25px;
    line-height: 35px;
    font-size: 13px;
    text-align: center;
    color: #fff;
    z-index: 1;
    border-radius: 2px 2px 0 0;
}
.accepted-flag:after {
    position: absolute;
    left: 0;
    top: 25px;
    content: '';
    border-width: 9px 25px;
    border-style: solid;
    border-color: #D40E0E #D40E0E transparent;
}

/*skills*/
.qa-nav-skill{
    clear: both;
    margin-bottom:20px;
}
.qa-nav-skill-item {
    color: #006699;
    display: block;
    padding: 7px 10px;
    font-weight: 700;
    font-size: 20px;
    border-bottom:1px solid #ddd;
}

.qa-task-list{
    padding:5px 0;
}
.qa-task-list-item{
    width:200px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    padding:5px 10px;
    color:#777;
    margin:5px 23px;
    border:1px solid #999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	position:relative;
}
.qa-task-list-item.lock{
	background:#999;
	color:white;
	cursor:default;
}
.qa-task-list-item i{
	color:green;
	margin-left:5px;
	position:absolute;
	right:3px;
}
.qa-task-list-item.lock i{
	color:white;
}
.qa-task-list-item:hover{
    color:#fff;
    background: #337ab7;
}
.qa-task-list-item:hover i{
	color:white;
}
.qa-task-list-item.lock:hover{
	background:#999;
}
.open-source{
    padding: 10px 10px 10px 25px;
}
.open-source-item+.open-source-item{
    margin-top:20px;
    border-top: 1px solid #ddd;
	padding-top:10px;
}

.open-source-item-title {
    font-size: 16px;
    font-weight: 700;
}
.summarize-content {
    text-indent: 2em;
    padding: 10px;
}
.summarize-by {
    text-align: right;
    padding-right: 20px;
}

.countdown {
    padding: 2px 8px;
    color: #303f4b;
    white-space: nowrap;
    border: 1px solid #303f4b;
    border-radius: 3px;
    font-size: 14px;
    float: right;
}

.popover{
    background: #000;
    z-index:111;
}
.popover.top>.arrow:after{
    border-top-color: #000;
}
.popover.right>.arrow:after{
    border-right-color: #000;
}
.popover.left>.arrow:after{
    border-left-color: #000;
}
.popover.bottom>.arrow:after{
    border-bottom-color: #000;
}

.qlUser {
    color: black;
}

.namecard-main {
    text-align: center;
    padding: 10px 0 5px 0;
    line-height: 24px;
    min-width: 150px;
}
.namecard-main img {
    width: 60px;
    height: 60px;
    border-radius: 60px;
    margin-bottom: 10px;
}
.namecard-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;

}
.namecard-job {
    font-size: 12px;
    color: #999;
}
.namecard-numbers > div {
    width: 50%;
    float: left;
    color: #999;
    padding-top: 10px;
}
.namecard-numbers > div span {
    display: block;
}
.namecard-numbers > div span.num {
    font-size: 18px;
    color: #fff;
}

/* line number */
pre {
    position: relative;
    border: 1px solid #C3CCD0;
    background: #FFF;
}


code.has-numbering {
    margin-left: 21px;
}

.markdown-body .pre-numbering {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 25px;
    padding: 18px 2px 12px 0;
    border-right: 1px solid #C3CCD0;
    border-radius: 3px 0 0 3px;
    background-color: #EEE;
    text-align: right;
    font-family: Menlo, monospace;
    font-size: 0.8em;
    color: #AAA;
}
.markdown-body .pre-numbering li{
    padding:2px 0;
}


/* copy style */
pre .btn{
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    padding: 2px 6px;
    position: absolute;
    right: 50px;
    top: 4px;
}
pre a.collapsed{
    position: absolute;
	top: 8px;
	right: 4px;
	-webkit-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
	opacity: 0;
}

pre:hover .btn,pre:hover a.collapsed{
    opacity:1;
}
.clipboard{outline:none;}
.tooltipped {
    position:relative
}
.tooltipped:after {
    position:absolute;
    z-index:1000000;
    /*display:none;*/
    padding:5px 8px;
    font:normal normal 11px/1.5 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    color:#fff;
    text-align:center;
    text-decoration:none;
    text-shadow:none;
    text-transform:none;
    letter-spacing:normal;
    word-wrap:break-word;
    white-space:pre;
    pointer-events:none;
    content:attr(aria-label);
    background:rgba(0, 0, 0, 0.8);
    border-radius:3px;
    -webkit-font-smoothing:subpixel-antialiased
}
.tooltipped:before {
    position:absolute;
    z-index:1000001;
    /*display:none;*/
    width:0;
    height:0;
    color:rgba(0, 0, 0, 0.8);
    pointer-events:none;
    content:"";
    border:5px solid transparent
}
.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
    display:inline-block;
    text-decoration:none
}

.tooltipped-s:after{
    top:100%;
    right:50%;
    margin-top:5px
}
.tooltipped-s:before{
    top:auto;
    right:50%;
    bottom:-5px;
    margin-right:-5px;
    border-bottom-color:rgba(0, 0, 0, 0.8)
}
.tooltipped-s:after{
    -webkit-transform:translateX(50%);
    -ms-transform:translateX(50%);
    transform:translateX(50%)
}

